changed to mcSetSelectionBegin and mcSetSelectionDuration, with the behaviour that mcSetSelectionBegin does nothing, just saves the time passed, and mcSetSelectionDuration then applies the beginning and the duration to the movie. Also, the duration can be negative.
ADDED:
New Actions: mcSetUseBadge and mcGetUseBadge - which take, for the parameter,
a Boolean and a pointer-to-Boolean, respectively, to enable the use of badges to play the movie.
The badge appears whenever the movie is stopped, the controller visible, and badges enabled.
New Actions mcSetFlags and mcGetFlags - which take, as a parameter,
a long of bits, or a pointer to a long of bits, respectively.
The following bits are defined:
typedef enum
{
mcFlagSuppressMovieFrame = 1<<0, Don't frame movie with a single pixel border
mcFlagSuppressStepButtons = 1<<1, Don't draw the left/right step buttons
mcFlagSuppressSpeakerButton = 1<<2 Don't draw the speaker-mute button
} mcFlags;
To change a single flag, you must get the flags long, alter it, and set the flags.
CHANGED:
MCShowHide -> MCSetVisible (name change only)
MCIsShowing -> MCGetVisible (name change only)
The MovieController is no longer defined to support multiple movies; the following calls are affected:
MCAddMovie -> MCSetMovie, where setting movie “nil” removes a movie from the controller.
MCRemoveMovie goes away.
MCGetIndMovie -> MCGetMovie, and takes only the single MovieController parameter; no index.
MCRemoveAllMovies goes away.
MCGetControllerBoundsRect and MCGetControllerBoundsRgn are redefined to return
the areas of the controller, and the movie, if one is set to the controller and attached.
Similarly, MCSetControllerBoundsRect will resize the movie and the controller,